package params

type RegisterUserForm struct {
	Mobile   string `form:"mobile" json:"mobile" binding:"required"`     // 手机号
	Password string `form:"password" json:"password" binding:"required"` // 密码
	Sms      string `form:"sms" json:"sms" binding:"required"`           //短信

}

/*
type User struct {
	Id uint32 `json:"id"`// 用户ID
	Mobile string `json:"mobile"`// 手机号
	Password string `json:"password"`// 密码
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	DeletedAt time.Time `json:"deleted_at"`
}


*/

type UpdateUserInfoForm struct {
	UserId int32  `form:"user_id" json:"user_id" binding:"required"` // 用户ID
	Name   string `form:"name"  json:"name" binding:"required"`      // 昵称
	Info   string `form:"info" json:"info" binding:"required"`       // 签名
}

type GetUserInfoForm struct {
	UserId int32 `form:"user_id" json:"user_id" binding:"required"` // 用户ID
}

/*type UserInfo struct {
	Id uint32 `json:"id"`// 用户主页ID
	UserId int32 `json:"user_id"`// 用户ID
	Name string `json:"name"`// 昵称
	Info string `json:"info"`// 签名
	LikeNum int32 `json:"like_num"`// 粉丝数
	FollowNum int32 `json:"follow_num"`// 关注数
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	DeletedAt time.Time `json:"deleted_at"`
}

*/
